package com.chaosj.memory.command;

import com.chaosj.memory.CmdParserHandler;
import org.springframework.shell.standard.ShellComponent;
import org.springframework.shell.standard.ShellMethod;

/**
 * @className: SchulteGridCommand
 * @description:
 * @author: caoyangjie
 * @date: 2022/3/21
 **/
@ShellComponent
public class SchulteGridCommand extends AbstractCommand{

    @ShellMethod("srt number")
    public String srt(String num){
        String[] args = new String[]{"srt", num+""};
        return defaultInvoke(args);
    }

    @ShellMethod("poker number")
    public String poker(String num){
        String[] args = new String[]{"poker", num+""};
        return defaultInvoke(args);
    }

    @ShellMethod("disorder number")
    public String disorder(String num){
        String[] args = new String[]{"disorder", num+""};
        return defaultInvoke(args);
    }

}
